package cn.wolfcode.service;

import cn.wolfcode.domain.Business;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.PageInfo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface IBusinessService {
    void delete(Long id);

    void insert(Business business, MultipartFile file);

    Business listOne(Long id);

    List<Business> listAll();

    void update(Business business, MultipartFile file);
    PageInfo<Business> query(QueryObject qo);

    Business selectMainStore();
}
